package com.wei.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Date;

@Data
@TableName("history_urls")
@Schema(name = "HistoryUrlsDO", description = "历史访问")
public class HistoryUrlsDO {

    private Long id;

    @TableField("url")
    private String url;

    @TableField("visit_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date visitTime;
}
